﻿using CID.Domain.Infrastructure;

namespace CID.Domain.Persistence.Mappings.Infrastructure
{
    public class TemplateTypeMap : DescribedEntityMap<TemplateType>
    {
        public TemplateTypeMap() : base() 
        {
            Map(x => x.Enabled);
            Map(x => x.TemplateContentEditorConverterType);
            Map(x => x.TemplateContentEditorViewName);
            HasMany<Template>(x => x.Templates);
        }
    }
}
